From: Giovanni Campagna Date: Mon, 29 Oct 2012 16:43:28 +0000 (+0100) Subject: UnlockDialog: clear the password on failure X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5523 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a0470bfc6648214325f1024bed1e5626839d885f;p=gnome-shell.git UnlockDialog: clear the password on failure It is wrong, and the user can't correct it because it's obfuscated. Just let him type it again. https://bugzilla.gnome.org/show_bug.cgi?id=687132 --- diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index b119783c1..a902563f5 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -282,6 +282,7 @@ const UnlockDialog = new Lang.Class({ this._currentQuery = null; this._firstQuestion = true; + this._promptEntry.text = ''; this._promptEntry.clutter_text.set_password_char('\u25cf'); this._promptEntry.menu.isPassword = true;